package com.flag.liutao.modules.role.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.flag.liutao.common.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author godM
 * @since 2022-12-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user_role")
public class UserRole extends BaseDomain {

    @TableId
    private Long id;


    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;


    /**
     * 所在任职分队ID
     */
    private Long unitId;

    /**
     * 年级ID
     */
    private Long gradeId;


    /**
     * 上任时间
     */
    private Date takeTime;

    /**
     * 退休时间
     */
    private Date retireTime;


}
